package org.openspaces.example.helloworld.common;

import com.gigaspaces.annotation.pojo.SpaceRouting;

/**
 * 
 * The structure tuple fed by the feeder and used to built the street system
 *
 */
public class StructureTuple {
	private boolean processed = false;
	private Integer roxelLen;
	private Integer blockLen;
	private Integer blocksX;
	private Integer blocksY;
	
	/**
	 * Necessary default constructor
	 */
	public StructureTuple(){
		
	}
	
	public StructureTuple(Integer roxelLen, Integer blockLen, Integer blocksX,
			Integer blocksY) {
		super();
		this.roxelLen = roxelLen;
		this.blockLen = blockLen;
		this.blocksX = blocksX;
		this.blocksY = blocksY;
	}

	public Integer getRoxelLen() {
		return roxelLen;
	}

	public void setRoxelLen(Integer roxelLen) {
		this.roxelLen = roxelLen;
	}

	public Integer getBlockLen() {
		return blockLen;
	}

	public void setBlockLen(Integer blockLen) {
		this.blockLen = blockLen;
	}

	public Integer getBlocksX() {
		return blocksX;
	}

	public void setBlocksX(Integer blocksX) {
		this.blocksX = blocksX;
	}

	public Integer getBlocksY() {
		return blocksY;
	}

	public void setBlocksY(Integer blocksY) {
		this.blocksY = blocksY;
	}

	public boolean isProcessed() {
		return processed;
	}

	public void setProcessed(boolean processed) {
		this.processed = processed;
	}

	@Override
	public String toString() {
		return "StructureTuple [processed=" + processed + ", roxelLen="
				+ roxelLen + ", blockLen=" + blockLen + ", blocksX=" + blocksX
				+ ", blocksY=" + blocksY + "]";
	}
	
	
	
}
